<!DOCTYPE html>
<html>
<head>
<title>pvmg10音乐素材管理</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("mgaudioinfo:save"))
			<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			#end
			#if($shiro.hasPermission("mgaudioinfo:update"))
			<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			#end
			#if($shiro.hasPermission("mgaudioinfo:delete"))
			<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">应用产品名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.prodType" placeholder="应用产品名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">音乐名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioTitle" placeholder="音乐名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">细分类</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioType" placeholder="细分类"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">音频文件链接</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.sourcefileUrl" placeholder="音频文件链接"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">歌词文件</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.lrcfileUrl" placeholder="歌词文件"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">音乐封面</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.corverUrl" placeholder="音乐封面"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">作者</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioUser" placeholder="作者"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">MD5</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioMd5" placeholder="MD5"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">时长/秒</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioTime" placeholder="时长/秒"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label"></div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.toneQuality" placeholder=""/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">专辑</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.specialIssue" placeholder="专辑"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">音乐标签</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.audioTags" placeholder="音乐标签"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">后台维护时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.updateTime" placeholder="后台维护时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">后台维护人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="mgAudioInfo.updateBy" placeholder="后台维护人"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/generator/mgaudioinfo.js?_${date.systemTime}"></script>
</body>
</html>